package day10_poly.demo04_ploy;

public class Student extends Person {
    @Override
    public void eat() {
        System.out.println("学生吃饭");
    }
    @Override
    public void sleep() {
        System.out.println("学生睡觉");
    }

    public Student() {
    }

    public Student(String name, int age, String sex) {
        super(name, age, sex);
    }
}
